package com.cxb.apipassenger.remote;

import com.cxb.internalcommon.dto.ResponseResult;
import com.cxb.internalcommon.responese.NumberCodeResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient("service-verificationcode")
public interface ServiceVerificationcodeClient {

    //获取验证码
    @GetMapping(value="/numberCode/{size}")
    ResponseResult<NumberCodeResponse> getNumberCode(@PathVariable("size")int size);
}
